-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapt to calculator #24
base: master
Are you sure you want to change the base?
Conversation
@@ -40,6 +37,9 @@ def _run(self): | |||
self._rate.sleep() | |||
|
|||
def start(self): | |||
self._pub_diag = rospy.Publisher( | |||
'/diagnostics', DiagnosticArray, queue_size=10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't you be using output_topic_name
and msg_type
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rewrite this function in my code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self._pub_diag = rospy.Publisher(
'/diagnostics', DiagnosticArray, queue_size=10
Should be
self._pub_diag = rospy.Publisher(
output_topic_name, msg_type, queue_size=10
isn't it?
Have you made any changes in monitor.py? It looks similar to the existing monitor script. |
I didn't change any in monitor.py. I just rewrite some functions in my code. |
Then can you remove |
I created a calculator ros package. But I need to modify a little bit of this package.
It seems that this package is still functional. But please check it again.